<template>
  <div>
    <div class="discount">
      <div class="straight_down">
        <div>
          <span class="text">直降</span>
          <Icon type="ios-help-circle-outline" />
        </div>
        <div>4.11</div>
      </div>
      <div class="discount_coupon">
        <div>优惠券</div>
        <div>暂无可用优惠券</div>
      </div>
    </div>
    <div class="discount_regular">
      <Icon color="red" type="md-information-circle" />
      <div class="text">优惠规则</div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="stylus" scoped>
.discount {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  line-height: 2;
  box-sizing: border-box;
  margin: 15px 15px 0 15px;
  padding: 10px 8px;
  font-size: 16px;
  box-shadow: 0 1px 8px rgba(192, 192, 192, 0.3);

  .straight_down {
    display: flex;
    justify-content: space-between;

    .text {
      margin-right: 3px;
    }
  }

  .discount_coupon {
    display: flex;
    justify-content: space-between;
  }
}

.discount_regular {
  display: flex;
  align-items: center;
  margin: 8px 15px;
  font-size: 16px;

  .text {
    margin-left: 8px;
  }
}
</style>
